@import '//at.alicdn.com/t/font_1838439_6hhkexqxzvj.css';
*{
	margin: 0;
	padding: 0;
}

.content{
	width: 1200px;
	margin: 0 auto;
	
}
li{
	list-style: none;
}
a{
	text-decoration: none;
	color: #333;
	font-size: 12px;
}
a:hover{
	color: #f40;
}
/*顶部栏*/
.header{
	width: 100%;
	height: 32px;
	background-color: #f2f2f2;
}
.header .content{
	color: #666;
	font-size: 12px;
}
.header .content-left{
	float: left;
}
.header .content-left > div{
	float: left;
	line-height: 32px;
	margin-right: 20px;	
}
.header .content a{
	color: #666;
}
.header .content a:hover{
	color: #f40;
}
.header .content-right{
	float: right;
	position: relative;
}
.header .content-right li{
	display: inline-block;
	width: 70px;
	height: 32px;
	line-height: 32px;
	text-align: center;
}
.header .content-right .account{
	border: 1px solid #f2f2f2;
	box-sizing: border-box;	
	
	border-bottom:none;
}
.header .content-right .account:hover{
	border: 1px solid #CCCCCC;
	background-color: #fff;
	border-bottom:none;
}
.header .content-right .account .list{
	display: none;
	position: relative;
	width: 0;
}
.header .content-right .account .list ul{
	position: absolute;
	left: -1px;
	width: 70px;
	border: 1px solid #CCCCCC;
	border-top:none;
	box-sizing: border-box;
}

.header .content-right .account:hover .list{
	display: block;
}

/*搜索框*/	
.search{
	width: 100%;
}
.search .content{
	width: 1090px;
	margin-top: 10px;
	display: flex;
	justify-content: space-between;
	align-content: center;
}

.search .content .logo img{
	width: 200px;
}
.search .content .search-box{
	width: 600px;
	height: 40px;
	display: flex;
}
.search .search-box input{
	border: 1px solid #f40;
	flex-grow: 1;
	border-radius: 20px 0 0 20px;
	outline: 0;
	padding-left: 15px;
}
.search .search-box button{
	width: 70px;
	background-color: #f37b1d;
	color: #fff;
	font-size: 15px;
	outline: none;
	border: 0;
	border-radius: 0 20px 20px 0;
	cursor: pointer;
}
.search .hotwords li{
	float: left;
	margin-left: 10px;
	
}
.search .hotwords li a{
	color: #999;
	font-size: 12px;
}
/* 导航栏 */
.nav{
	height: 40px;
	border-bottom: 4px solid #f40;
}
.nav a{
	color: #333;
}
.nav a:hover{
	color: #f40;
}
.nav .dropdown{
	float: left;
	width: 200px;
	height: 40px;
	background-color: #f40;
}
.nav .dropdown .dt{
	width: 100%;
	height: 100%;
	color: #fff;
	line-height: 40px;
	text-align: center;
	font-size: 16px;
}

.nav .navitems{
	float: left;
}
.nav .navitems ul li{
	float: left;
}
.nav .navitems ul a.active{
	color: #f40;
	font-weight: bold;
}
.nav .navitems ul li a{
	display:block;
	height: 40px;
	line-height: 40px;
	font-size: 16px;
	padding: 0 25px;
}
/* 主内容 */
.main{
	position: relative;
}
.main .left{
	width: 200px;
	float: left;
}
/* 侧边栏导航 */
.main .left .sidebar{
	width:200px;
	height: 550px;
	border: 2px solid #f40;
	border-top: none;
	box-sizing: border-box;
	position: relative;
}
.main .left .sidebar .menu > li{
	height:85px;
	border-bottom: 1px solid #ccc;
	padding:0 10px;
}
.main .left .sidebar .menu h4{
	padding: 6px 0;
}
.main .left .sidebar .menu > li:hover{
	background-color:#B3D4FC;
}
.main .left .sidebar .menu  ol {
	/* 将对象作为弹性伸缩盒子模型显示 */
	display: -webkit-box;
	/* 设置弹性伸缩例子中的子元素的排列方式 */
	-webkit-box-orient: vertical;
	/* 用来限制显示的文本的行数 */
	-webkit-line-clamp: 2;
	/* 将超出的部分隐藏 */
	overflow: hidden;
	/* 用省略号显示超出的内容 */
	text-overflow: ellipsis;
}
.main .left .sidebar span{
	float: right;
}
.main .left .sidebar .menu ol li{
	display: inline-block;

}
.main .left .sidebar .menu ol li a{
	font-size: 12px;
}
.main .left .sidebar .menu li:hover .detail{
	display: block;
}
/*子导航*/
.main .left .sidebar .detail{
	position: absolute;
	top: 0;
	left: 100%;
	width: 300%;
	height: 550px;
	border: 2px solid #f40; 
	border-top: none;
	box-sizing: border-box;
	z-index: 20;
	background-color: #fff;
	display: none;
}
.main .left .sidebar .detail li{
	font-size: 12px;
}
.main .left .sidebar .detail > li{
	height:70px;
	border-bottom: 1px solid #ccc;
	padding:0 10px;
}
.main .left .sidebar .detail li h4{
	text-decoration: underline;
	margin-top: 10px;
}
.main .left .sidebar .detail ol{
	margin-left: 5px;
}
.main .left .sidebar .detail ol li{
	margin-left: 15px;

}
/*全部商品分类*/
.main .left .all {
	text-align: right;
	line-height: 30px;
	margin-right: 10px;
}
.main .left .all a{
		color:#f40 ;
}
.main .left .star{
	width: 200px;
	height: 270px;
	margin-top: 10px;
	background: url(../imgs/other/star-bg.png) no-repeat;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
}
.main .left .star a{
	color: #fff;
	display: inline-block;
	width: 88%;
	height: 50px;
	line-height: 25px;
	background-color: rgba(0, 0, 0,.5);
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 6px;
}
.main .left .star a:hover{
	color: #f40;
}
.main .right{
	width: 990px;
	height: 360px;
	float: right;
	
}
/* 轮播图 */
.main .slides{
	width: 990px;
	height: 360px;
	position: relative;
	margin-top: 10px;
}
.main .slides .btn{
	width: 50px;
	height:50px;
	line-height: 50px;
	color: #fff;
	background-color: rgba(0, 0, 0,.5);	
	border-radius: 50%;
}
/*标签页*/
.main .right .tabs{
	width: 665px;
	height: 430px;
	border: 10px solid #eee;
	float: left;
	margin-top: 10px;
}
.main .tabs .tabs-nav li{
	display: inline-block;
	width: 100px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-weight: bold;
}
.main .tabs .tabs-nav li.active{
	border-top: 3px solid #f40;
}
.main .tabs .tabs-content{
	width: 600px;
	height: 400px;
	/* overflow: hidden; */
}
.main .tabs .tabs-content .tab-panel{
	width: 600px;
	height: 400px;
	overflow: hidden;
}
.tabs-content .tab-panel .intro{
	margin-top: 10px;
	height:190px;
	display: flex;
	justify-content: space-between;
	margin-left: 50px;
}
.tab-panel .intro .left{
	width: 250px;
	text-align: center;
}
.tab-panel .intro .left img{
	width: 140px;
}
.tab-panel .intro .right{
	margin-top: 15px;
}
.tab-panel .intro .right .book-name{
	color: #333;
	font-weight: bold;
}
.tab-panel  .book-price{
	margin-top: 10px;
}
.tab-panel  .book-price span{
	color: #f40;
	font-size: 18px;
}
.tab-panel .book-price del{
	color: #666;
	margin-left: 10px;
}
.tab-panel .book-desc{
	color: #666;
	font-size: 14px;
	text-indent: 2em;
	margin-top: 10px;
	/* 将对象作为弹性伸缩盒子模型显示 */
	display: -webkit-box;
	/* 设置弹性伸缩例子中的子元素的排列方式 */
	-webkit-box-orient: vertical;
	/* 用来限制显示的文本的行数 */
	-webkit-line-clamp: 3;
	/* 将超出的部分隐藏 */
	overflow: hidden;
	/* 用省略号显示超出的内容 */
	text-overflow: ellipsis;
}
.tabs-content .tab-panel .list{
	display: flex;
	justify-content: space-between;
	padding: 0 10px;
}
.tab-panel .list li{
    display: inline-block;
    text-align: center;
    width: 140px;
}
.tabs-content .tab-panel .list img{
	height: 110px;
}
.tab-panel .list p{
	font-size: 12px;
	color: #666;
	text-align: left;
	margin-top: 5px;
}
/*图书畅销榜*/
.main .right .bestSelling{
	width: 295px;
	height: 414px;
	/* background: #ccc; */
	float: left;
	margin-left: 10px;
	margin-top: 10px;
}
.main .right .bestSelling h4{
	margin-left: 10px;
	color: #f40;
	border-bottom: 3px solid #f40;
}
.main .right .bestSelling .more{
	color: #666;
	font-size: 12px;
	float: right;
}
.main .right .bestSelling a:hover{
	color: #f40;
	cursor: pointer;
}
.main .right .bestSelling .list{
	margin-left: 10px;
	border: 1px solid #ccc;
	border-top:none;
	border-bottom: none;
}
.main .right .bestSelling .list li{
	border-bottom: 1px solid #ccc;
	height: 38px;
	padding-left: 10px;
	line-height: 38px;
	
}